import numpy as np
x = np.array((90,85,80))
w = np.array((0.4,0.4,0.2))
np.mean(x)
np.average(x,weights=w)
np.sum(x*w)/np.sum(w)

print(np.mean(x))